<h1>Mark As Borrowed</h1>

You may mark the following selected movies as borrowed to an existing member.<br />
If you are not lending to an existing member (and they have no wish to become one), then simply provide their email address and a contact name below.<br /><br />

You only should mark a movie as BORROWED, at the time they are actually borrowing the movie, and not before hand...

<strong>Selected Movies (to lend out)</strong><br />
<table cellspacing="0" cellpadding="5">
	<form method="POST" action="index.php" name="frm_borrow">
	<input type="hidden" name="what" value="mymovies">
	<input type="hidden" name="do" value="borrow_process">
	{foreach from=$content.movies item=m}
		<input type="hidden" name="id[]" value="{$m.id}">
		<tr>
			<td>
				<a href="index.php?what=movie&do=view&id={$m.id}">{$m.title}</a>
			</td>
			<td>{imdb url=$m.imdb_url}</td>
		</tr>
	{/foreach}
</table>

<table class="data_table" width="400" cellpadding="5">
	<tr>
		<td width="30%"><strong>Existing Member</strong></td>
		<td>
			<select name="borrower_id" size="6" style="width: 100%">
				{html_options options=$content.members}
			</select>
			<input type="button" value="Deselect Member" onClick="document.frm_borrow.borrower_id.selectedIndex = -1;">
		</td>
	</tr>
	<tr>
		<td colspan="2"><u><strong>Or</strong></u></td>
	</tr>
	<tr>
		<td><strong>Contact Name</strong></td>
		<td><input type="text" name="contact_name" value="">
	</tr>
	<tr>
		<td><strong>Contact Email</strong></td>
		<td><input type="text" name="contact_email" value=""></td>
	</tr>
</table>
<br />
<input type="submit" value="Mark As Borrowed &raquo;">
</form>